package com.kl.modular.system.dao.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.kl.modular.base.dao.model.BaseModel;

/**
 * 数据字典
 * @author xr_zjb
 * @date 2017-08-07 15:58
 * @(C) xinrui Copyright 
 */
public class SystemDic extends BaseModel {
    /** 数据字典类型 */
    private Long dicTypeId;
    /** 字典code */
//    @NotNull(message = "字典code不能为空")
    private String dicCode;
    /** 名称 */
    private String name;
    /** 值 */
    private String dicValue;
    /** 备注 */
    private String remarks;
    /** 是否使用 */
    private Boolean userStatus;
    /** 排序 */
    private Integer sortNo;

    @TableField(exist = false)
    private SystemDicType dicType;

    public Long getDicTypeId() {
        return dicTypeId;
    }
    public void setDicTypeId(Long dicTypeId) {
        this.dicTypeId = dicTypeId;
    }
    public String getDicCode() {
        return dicCode;
    }
    public void setDicCode(String dicCode) {
        this.dicCode = dicCode;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public Boolean getUserStatus() {
        return userStatus;
    }
    public void setUserStatus(Boolean userStatus) {
        this.userStatus = userStatus;
    }

    public SystemDicType getDicType() {
        return dicType;
    }

    public void setDicType(SystemDicType dicType) {
        this.dicType = dicType;
    }

    public String getDicValue() {
        return dicValue;
    }

    public void setDicValue(String dicValue) {
        this.dicValue = dicValue;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }
}